var hoverZoomPlugins = hoverZoomPlugins || [];
hoverZoomPlugins.push( {
	name: 'TibiaRP',
	version: '0.1',
	prepareImgLinks: function(callback) {
		var res = [];
		$("a[href*=imageshack.us] img[src*=imageshack.us]").each(function() {
			var link = $(this).parents('a:eq(0)');
			if(link) {
				$(link).data('hoverZoomSrc', [link.attr('href')]);
				$(link).data('hoverZoomCaption', link.attr('title'));
				res.push(link);
			}
		});
		$(".comment.alt").each(function() {
			var link = $(this).find('a:eq(0)');
			var img = $(this).find('img:eq(0)');
			if (link && img) {
				$(link).data('hoverZoomSrc', [img.attr('src')]);
				res.push(link);
			}
		});
		callback($(res));
	}
});
